package com.lidong.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lidong.entity.Employee;

/**
 * @Description :
 * @Author : lidong
 * @Date : 2018年5月10日
 */
public interface EmployeeMapper {

	Employee query(Integer id);
	
	void save(Employee employee);
	
	List<Employee> queryEmployeeByNameLike(String userName);
	
	void delete(Integer id);
	
	void update(Employee employee);
	
	Employee queryByIdAndName1(@Param("id") Integer id, @Param("userName") String userName);
	
	Employee queryByIdAndName2(Employee employee);
	
	Employee queryByIdAndName3(Map<String, Object> map);
}
